package com.huarun.common.util;

/**
 * @author dzm
 * @创建时间 2018-08-07 16:13
 * @Description 短信常量类
 * 
 */
public class SMSConstant {

	public static final int SMS_APPID = 1400120894;
	public static final String SMS_APPKEY = "ff5f04943e668bc37b1f6af8a88d28ba";
	/*短信验证码已验证成功key*/
	public static final String SMS_VERIFIED_KEY = "sms_verified_key";
	/*发起PUSH key*/
	public static final String SMS_KEY_PUSH = "sms_key_push";
	/*短信验证码已验证成功key---修改手机号码*/
	public static final String SMS_SUCCESS_KEY = "sms_success_key";
	/*发起PUSH key---修改手机号码*/
	public static final String SMS_KEY_CHECK = "sms_key_check";
	/*忘记密码-手机短信信息*/
	public static final String SMS_FORGET_PASSWORD_CONTENT = "您正在进行安全手机验证操作，验证码verifyCode ，minute分钟内有效。(验证码告知他人将导致账号被盗，请勿泄露)";
	/*忘记密码-手机短信信息-失效时间(分钟)*/
	public static final String SMS_FORGET_PASSWORD_MINUTE = "1";
	/**
	 * 邮件发送标识
	 */
	public static final String ACTIVE = "active";
	// 邮件链接中sign的有效时间(天)
	public static final int VALID_EMAIL_TIME = 1;
	// 短信失效时间(秒)
	public static final int VALID_SMS_TIME = 60;
	/***
	 * 忘记密码-邮件中url链接
	 */
	public static final String EMAIL_FP_HTML = "<h3>项目运维管理系统用户，您好：</h3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i>为保证您的账户安全，请在24小时有效期内点击链接修复微筑管理系统的帐号的登录密码</i><br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i><a href=WebuildingUrl>WebuildingUrl</a></i><br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i>若链接点击无效，请复制链接到浏览器地址栏中打开。</i><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i>若您未申请密码修复，请忽略此邮件。</i><br/><br/><hr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<i>此邮件由系统自动发出，系统不接收回信，请勿直接回复。</i>";
	public static final String EMAIL_FP_TITLE = "密码找回";

	public static final String HOST = "smtp.exmail.qq.com";
	public static final String PROTOCAL = "smtp";
	public static final String USERNAME = "auth@webuilding.com";
	public static final String PASSWORD = "We@2018";
}
